package com.changgou.goods.service;

import com.changgou.pojo.Brand;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

/**
 * @ClassName BrandService
 * @Description: TODO
 * @Author 郑乾
 * @Date 2020-08-01
 * @Version V1.0
 **/
public interface BrandService {
    List<Brand>findAll();

    Brand findById(int id);

    void add(Brand brand);

    void update(Brand brand);

    void delete(int id);

    Page<Brand> search(Integer pageNum, Integer pageSize, Map<String, Object> searchMap);
}
